package c.x.jy.dao.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 * 商家钱包表
 * 
 * @author amwhyh
 * @email xxx@xx.com
 * @date 2021-05-21 11:28:25
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
@TableName("t_business_wallet")
public class BusinessWalletEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	private Long id;
	/**
	 * 商家ID
	 */
	private Long businessId;
	/**
	 * 充值余额
	 */
	private BigDecimal balance;
	/**
	 * 累计充值
	 */
	private BigDecimal totalBalance;
	/**
	 * 佣金余额
	 */
	private BigDecimal commissionBalance;
	/**
	 * 冻结佣金
	 */
	private BigDecimal frozenCommission;
	/**
	 * 累计佣金
	 */
	private BigDecimal totalCommission;
	/**
	 * 剩余积分
	 */
	private Integer scores;
	/**
	 * 累计积分
	 */
	private Integer totalScores;
	/**
	 * 赠送余额
	 */
	private BigDecimal giveBalance;
	/**
	 * 消费金额
	 */
	private BigDecimal spendMoney;
	/**
	 * 赠送总额
	 */
	private BigDecimal totalGive;

}

